from django.conf.urls import url
from . import views
urlpatterns = [
    url(r'^api/v1.0/users$',views.RegisterView.as_view()),
    url(r'^api/v1.0/session$',views.LoginView.as_view()),
    url(r'^api/v1.0/areas$',views.AreasView.as_view()),
    url(r'^api/v1.0/user $',views.UserView.as_view()),
    url(r'^api/v1.0/user/avatar $',views.HeadPngView.as_view()),
    url(r'^api/v1.0/user/name $',views.NameView.as_view()),
    url(r'^api/v1.0/user/auth $',views.AuthView.as_view()),
]